import zyButton from './button/index';
import zyInput from './input/index';
import filterPanel from './filterPanel/index';
import tablePanel from './tablePanel/index';
import layoutDropdown from './layoutDropdown/index';
import zyInfoPanel from './infoPanel/index';
import zyInfoPanelDetail from './infoPanelDetail/index';
import zyTitle from './title/index';
import zyModel from './model/index';
import zyImage from './image/index';
import zyModalInfo from './modalInfoTemplate';
import zyInfoChange from './infoChangeTemplate';
import dropdownBox from './dropdownBox/index'
import quillEditor from './quillEditor/index'
import zyLog from './logs/index'

export default (Vue) => {
	Vue.component(zyButton.name, zyButton);                       // 按钮
	Vue.component(zyInput.name, zyInput);                         // 输入框
	Vue.component(filterPanel.name, filterPanel);                 // 过滤面板
	Vue.component(tablePanel.name, tablePanel);                   // 表格面板
	Vue.component(layoutDropdown.name, layoutDropdown);           // 布局调整下拉组件
	Vue.component(zyTitle.name, zyTitle);                         // 通用title
	Vue.component(zyInfoPanel.name, zyInfoPanel);                 // 信息面板
	Vue.component(zyInfoPanelDetail.name, zyInfoPanelDetail);     // 信息面板详情
	Vue.component(zyModel.name, zyModel);                         // 模态框
	Vue.component(zyImage.name, zyImage);                         // 图片处理
	Vue.component(zyModalInfo.name, zyModalInfo);                 // 模态框信息面板模板
	Vue.component(zyInfoChange.name, zyInfoChange);               // 信息修改面板模板
	Vue.component(dropdownBox.name, dropdownBox);                 // 下拉菜单
	Vue.component(quillEditor.name, quillEditor);                 // 富文本编辑
	Vue.component(zyLog.name, zyLog);                             // 日志列表
};
